[INFO] cloning repository https://github.com/putao0525/min-tun2proxy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/putao0525/min-tun2proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fputao0525%2Fmin-tun2proxy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fputao0525%2Fmin-tun2proxy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c29462ccd2e39b896cb31636c711058692df157f
[INFO] checking putao0525/min-tun2proxy/c29462ccd2e39b896cb31636c711058692df157f against master#31a9463c6e2794a59ce57a8f37abc6966afc2a58 for pr-149045
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fputao0525%2Fmin-tun2proxy" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/putao0525/min-tun2proxy
[INFO] finished tweaking git repo https://github.com/putao0525/min-tun2proxy
[INFO] tweaked toml for git repo https://github.com/putao0525/min-tun2proxy written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/putao0525/min-tun2proxy on toolchain 31a9463c6e2794a59ce57a8f37abc6966afc2a58
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/putao0525/min-tun2proxy already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded c2rust-bitfields v0.18.0
[INFO] [stderr]   Downloaded c2rust-bitfields-derive v0.18.0
[INFO] [stderr]   Downloaded ioctl-sys v0.8.0
[INFO] [stderr]   Downloaded tun v0.6.1
[INFO] [stderr]   Downloaded tokio-socks v0.5.2
[INFO] [stderr]   Downloaded wintun v0.3.2
[INFO] [stderr]   Downloaded bb8 v0.8.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3cbde29448b09e41d0f1b4187dccd2546f27898f086d8e88c994b82d8f52f4b1
[INFO] running `Command { std: "docker" "start" "-a" "3cbde29448b09e41d0f1b4187dccd2546f27898f086d8e88c994b82d8f52f4b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3cbde29448b09e41d0f1b4187dccd2546f27898f086d8e88c994b82d8f52f4b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3cbde29448b09e41d0f1b4187dccd2546f27898f086d8e88c994b82d8f52f4b1", kill_on_drop: false }`
[INFO] [stdout] 3cbde29448b09e41d0f1b4187dccd2546f27898f086d8e88c994b82d8f52f4b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5e82785c4dc4008760566d39ef5f657e6b40bc7f405f14ae298ef82059cd66ad
[INFO] running `Command { std: "docker" "start" "-a" "5e82785c4dc4008760566d39ef5f657e6b40bc7f405f14ae298ef82059cd66ad", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking bytes v1.7.1
[INFO] [stderr]     Checking no-std-net v0.6.0
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]     Checking futures v0.1.31
[INFO] [stderr]    Compiling parking_lot_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]     Checking pnet_base v0.35.0
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking pnet_macros_support v0.35.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]    Compiling pnet v0.35.0
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]     Checking clap_builder v4.5.15
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking ioctl-sys v0.8.0
[INFO] [stderr]     Checking colored v2.1.0
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking pnet_sys v0.35.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking tokio-executor v0.1.10
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]     Checking tokio-sync v0.1.8
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking tokio-io v0.1.13
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]     Checking tokio-signal v0.2.9
[INFO] [stderr]     Checking regex v1.10.6
[INFO] [stderr]     Checking env_filter v0.1.2
[INFO] [stderr]     Checking env_logger v0.11.5
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling clap_derive v4.5.13
[INFO] [stderr]    Compiling async-trait v0.1.82
[INFO] [stderr]     Checking ipnetwork v0.20.0
[INFO] [stderr]     Checking pnet_datalink v0.35.0
[INFO] [stderr]     Checking tokio v1.40.0
[INFO] [stderr]    Compiling pnet_macros v0.35.0
[INFO] [stderr]     Checking tun v0.6.1
[INFO] [stderr]     Checking pnet_packet v0.35.0
[INFO] [stderr]     Checking clap v4.5.16
[INFO] [stderr]     Checking pnet_transport v0.35.0
[INFO] [stderr]     Checking hyper v1.4.1
[INFO] [stderr]     Checking tokio-socks v0.5.2
[INFO] [stderr]     Checking bb8 v0.8.5
[INFO] [stderr]     Checking min-tun2proxy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `macos` in `platform`
[INFO] [stdout]   --> src/main.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::platform::macos::mac_table::MacRouteTable;
[INFO] [stdout]    |                      ^^^^^ could not find `macos` in `platform`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/platform/mod.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout]  1 | #[cfg(target_os = "macos")]
[INFO] [stdout]    |       ------------------- the item is gated behind the `macos` feature
[INFO] [stdout]  2 | pub mod macos;
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `macos` in `platform`
[INFO] [stdout]   --> src/main.rs:24:22
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::platform::macos::mac_table::MacRouteTable;
[INFO] [stdout]    |                      ^^^^^ could not find `macos` in `platform`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/platform/mod.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout]  1 | #[cfg(target_os = "macos")]
[INFO] [stdout]    |       ------------------- the item is gated behind the `macos` feature
[INFO] [stdout]  2 | pub mod macos;
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, and `warn`
[INFO] [stdout]  --> src/utils/log.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use log::{debug, error, info, Level, trace, warn};
[INFO] [stdout]   |           ^^^^^  ^^^^^  ^^^^         ^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::signal`
[INFO] [stdout]  --> src/utils/log.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::signal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite`
[INFO] [stdout]   --> src/main.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt};
[INFO] [stdout]    |                 ^^^^^^^^^                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `signal` and `task`
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use tokio::{signal, task};
[INFO] [stdout]    |             ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     ///日志初始化
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 31 |     unsafe { env::set_var("RUST_LOG", "info"); }
[INFO] [stdout]    |     -------------------------------------------- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     ///解析命令行参数
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 34 |     let user_conf = UserConfig::parse_params();
[INFO] [stdout]    |     ------------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     ///初始化路由表
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 38 |     route_table.init_route_table();
[INFO] [stdout]    |     ------------------------------ rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     ///创建设备
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 44 |     let mut dev = create_tun_dev(&user_conf.tun_conf).expect("创建tun设备失败");
[INFO] [stdout]    |     ---------------------------------------------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     ///数据包处理
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 46 |     let _ = exe_packet(&mut dev, &user_conf);
[INFO] [stdout]    |     ----------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::signal`
[INFO] [stdout]  --> src/utils/log.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tokio::signal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead` and `AsyncWrite`
[INFO] [stdout]   --> src/main.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt};
[INFO] [stdout]    |                 ^^^^^^^^^                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `signal` and `task`
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use tokio::{signal, task};
[INFO] [stdout]    |             ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     ///日志初始化
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 31 |     unsafe { env::set_var("RUST_LOG", "info"); }
[INFO] [stdout]    |     -------------------------------------------- rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     ///解析命令行参数
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 34 |     let user_conf = UserConfig::parse_params();
[INFO] [stdout]    |     ------------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     ///初始化路由表
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 38 |     route_table.init_route_table();
[INFO] [stdout]    |     ------------------------------ rustdoc does not generate documentation for expressions
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     ///创建设备
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 44 |     let mut dev = create_tun_dev(&user_conf.tun_conf).expect("创建tun设备失败");
[INFO] [stdout]    |     ---------------------------------------------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/main.rs:45:5
[INFO] [stdout]    |
[INFO] [stdout] 45 |     ///数据包处理
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 46 |     let _ = exe_packet(&mut dev, &user_conf);
[INFO] [stdout]    |     ----------------------------------------- rustdoc does not generate documentation for statements
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 119 |     !todo!()
[INFO] [stdout]     |     ^-------
[INFO] [stdout]     |     ||
[INFO] [stdout]     |     |any code following this expression is unreachable
[INFO] [stdout]     |     unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/main.rs:119:5
[INFO] [stdout]     |
[INFO] [stdout] 119 |     !todo!()
[INFO] [stdout]     |     ^-------
[INFO] [stdout]     |     ||
[INFO] [stdout]     |     |any code following this expression is unreachable
[INFO] [stdout]     |     unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/main.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{Read, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/main.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{Read, Write};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let mut dev = TunDevice::new(&config)?;
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_packet`
[INFO] [stdout]    --> src/main.rs:118:23
[INFO] [stdout]     |
[INFO] [stdout] 118 | async fn forward_http(self_packet: SelfPacket<'_>, user_config: &UserConfig) -> anyhow::Result<()> {
[INFO] [stdout]     |                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_packet`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:102:9
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let mut dev = TunDevice::new(&config)?;
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_config`
[INFO] [stdout]    --> src/main.rs:118:52
[INFO] [stdout]     |
[INFO] [stdout] 118 | async fn forward_http(self_packet: SelfPacket<'_>, user_config: &UserConfig) -> anyhow::Result<()> {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `self_packet`
[INFO] [stdout]    --> src/main.rs:118:23
[INFO] [stdout]     |
[INFO] [stdout] 118 | async fn forward_http(self_packet: SelfPacket<'_>, user_config: &UserConfig) -> anyhow::Result<()> {
[INFO] [stdout]     |                       ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_packet`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `user_config`
[INFO] [stdout]    --> src/main.rs:118:52
[INFO] [stdout]     |
[INFO] [stdout] 118 | async fn forward_http(self_packet: SelfPacket<'_>, user_config: &UserConfig) -> anyhow::Result<()> {
[INFO] [stdout]     |                                                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `min-tun2proxy` (bin "min-tun2proxy") due to 1 previous error; 14 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `min-tun2proxy` (bin "min-tun2proxy" test) due to 1 previous error; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5e82785c4dc4008760566d39ef5f657e6b40bc7f405f14ae298ef82059cd66ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e82785c4dc4008760566d39ef5f657e6b40bc7f405f14ae298ef82059cd66ad", kill_on_drop: false }`
[INFO] [stdout] 5e82785c4dc4008760566d39ef5f657e6b40bc7f405f14ae298ef82059cd66ad
